package TwoArray;

/**
 * @author feng
 * @Date 2021/6/18 21:33
 */
  // 打印100以内的所有的奇数，求出奇数的和
public class Team01 {
    public static void main(String[] args) {
         int sum = 0;
        for (int i = 0; i <= 100; i++) {
            if (i % 2 != 0) {
                System.out.println("" + i);
                sum += i;
            }
        }
        System.out.println(sum);




    }
}
